MESCIUS SPREAD for Windows Forms 17.0J
DrawImage(String,Rectangle,SizingMode,Nullable<Rectangle>,RectAlignment) メソッド

描画する画像のファイルパス。
描画する画像の位置とサイズを指定するGrapeCity.Drawing.Rectangle構造体。
画像の寸法を指定するGrapeCity.CalcEngine.SizingMode構造体。
クリップ矩形を指定するGrapeCity.Drawing.Rectangle構造体。クリッピングしない場合はnull。
画像配置方法を指定するGrapeCity.Drawing.RectAlignment
指定したGrapeCity.Drawing.Rectangleで定義された領域に画像を描画します。
構文
'Declaration
 
Public Overloads MustOverride Sub DrawImage( _
   ByVal filePath As String, _
   ByVal bounds As Rectangle, _
   ByVal sizingMode As SizingMode, _
   Optional ByVal clipBounds As Nullable(Of Rectangle), _
   Optional ByVal rectAlignment As RectAlignment _
) 
public abstract void DrawImage( 
   string filePath,
   Rectangle bounds,
   SizingMode sizingMode,
   Nullable<Rectangle> clipBounds,
   RectAlignment rectAlignment
)

パラメータ

filePath
描画する画像のファイルパス。
bounds
描画する画像の位置とサイズを指定するGrapeCity.Drawing.Rectangle構造体。
sizingMode
画像の寸法を指定するGrapeCity.CalcEngine.SizingMode構造体。
clipBounds
クリップ矩形を指定するGrapeCity.Drawing.Rectangle構造体。クリッピングしない場合はnull。
rectAlignment
画像配置方法を指定するGrapeCity.Drawing.RectAlignment
参照

PrintingContext クラス
PrintingContext メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.